/**
 * Created by zhgk on 2016/9/21 0021.
 */

export interface DtRow {
    width?: number;
    height?: number;
}

export interface DtColumn {
    //列宽
    width?: string|number;
    //列名称
    title: string;
    //对应数据类里面值的索引
    dataIndex: string;
    //是否隐藏
    hidden?: boolean;
}


export interface DtConfig {
    width?: string|number;
    height?: string|number;
    //列名称
    cols: DtColumn[];
    //页面记录数
    pageSize?: number ;
    //可选页大小的值
    pageSizeList?: Array<number> ;
    //是否分页
    paging?: boolean;
    //表格数据
    data?: any[];
    //是否远程加载
    remote?: boolean;
    //远程加载地址
    url?: string
}